package cn.iftrue.japidemo.system.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;

/**
 * 登录日志表(SysLogLogin)表实体类
 *
 * @author admin
 * @since 2021-04-20 10:30:07
 */
@SuppressWarnings("serial")
public class SysLogLogin extends Model<SysLogLogin> {
    private Long id;

    private String userName;

    /**
     * 客户端IP
     */
    @ApiModelProperty(value = "客户端IP")
    private String clientIp;

    /**
     * 客户端所在城市
     */
    @ApiModelProperty(value = "客户端所在城市")
    private String clientCity;

    /**
     * 浏览器
     */
    @ApiModelProperty(value = "浏览器")
    private String clientBroswer;

    /**
     * 客户端操作系统
     */
    @ApiModelProperty(value = "客户端操作系统")
    private String clientSystem;

    /**
     * 登录状态
     */
    @ApiModelProperty(value = "登录状态")
    private String loginStatus;

    /**
     * 登录信息
     */
    @ApiModelProperty(value = "登录信息")
    private String loginMessage;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public String getClientCity() {
        return clientCity;
    }

    public void setClientCity(String clientCity) {
        this.clientCity = clientCity;
    }

    public String getClientBroswer() {
        return clientBroswer;
    }

    public void setClientBroswer(String clientBroswer) {
        this.clientBroswer = clientBroswer;
    }

    public String getClientSystem() {
        return clientSystem;
    }

    public void setClientSystem(String clientSystem) {
        this.clientSystem = clientSystem;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
    }

    public String getLoginMessage() {
        return loginMessage;
    }

    public void setLoginMessage(String loginMessage) {
        this.loginMessage = loginMessage;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
